<template>
	<div class="test">
		<button @click="demo1">点击获取三级分类数据</button>
	</div>
</template>

<script>
	import {reqCategoryList} from '@/api/index'

	export default {
		name:'Test',
		methods: {
			async demo1(){
				let result = await reqCategoryList()
				console.log(result)
			},
		}
	}
</script>

<style lang="less" scoped>
.test{
	background-color: gray;
	height: 200px;
	button{
		width: 200px;
		height: 50px;
		font-size: 20px;
	}
}
</style>